//
//  NSObject+XHHAddition.m
//  XHH_ZFB
//
//  Created by xiaohuihui on 9/15/16.
//  Copyright © 2016 xiaohuihui. All rights reserved.
//

#import "NSObject+XHHAddition.h"

@implementation NSObject (XHHAddition)
+ (instancetype)XHH_objectWithDict:(NSDictionary *)dict {
    id obj = [[self alloc] init];
    [obj setValuesForKeysWithDictionary:dict];
    return obj;
}

@end
